Textless Action Widget
constructor(activeIcon: Identifier, inactiveIcon: Identifier, highlightedIcon: Identifier, activeNarration: Text, inactiveNarration: Text, activeSupplier: Supplier<Boolean>, pressAction: Consumer<TextlessActionWidget>)
constructor(icon: Identifier, activeNarration: Text, inactiveNarration: Text, activeSupplier: Supplier<Boolean>, pressAction: Consumer<TextlessActionWidget>)
constructor(activeIcon: Identifier, inactiveIcon: Identifier, highlightedIcon: Identifier, activeNarration: Text, inactiveNarration: Text, activeSupplier: Supplier<Boolean>, pressAction: Consumer<TextlessActionWidget>, renderBackground: Boolean)
Parameters
active Icon
Identifier - sprite id for active-but-not-hovered state
inactive Icon
Identifier - sprite id for inactive/disabled state, controlled via activeSupplier
highlighted Icon
Identifier - sprite id for the active-and-hovered state
active Narration
Text - the tooltip and narration for active states
inactive Narration
Text - narration and tooltip to display if the button is inactive
active Supplier
Supplier
press Action
Consumer
render Background
Default false. If true, will render a standard MC button background behind your icon.